<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html >
	<head>
		<meta  http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
		<title>{% block titulo %} Hadassa Whit Music {% endblock %} </title>
		<meta name="save" content="history">
		<link rel="stylesheet" href="{{MEDIA_URL}}css/menu.css" type="text/css" />
		<link rel="stylesheet" href="{{MEDIA_URL}}css/estilos.css" type="text/css" />
		{% block css %} {% endblock %}
			{% if user.is_authenticated%}
				<script type="text/javascript" src="{{MEDIA_URL}}js/droplinemenu.js"></script>
				<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
				<script type="text/javascript">
					droplinemenu.buildmenu("droplinetabs1")
				</script>
			{% endif %}
		{% block javascript %}{% endblock %}
	</head>
	<body class="fundo">
		<div id="estrutura">
		{% if user.is_authenticated %}
			{% load i18n %}
			<div id="topoid">
				<div id="branding">
					<font size=4px </font>{% trans 'Bem vindo,' %}
					<font size=3px </font><strong>{% firstof user.first_name user.username %}</strong>.
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<a href="/cadastro/alterarSenha/"> <font size=3px </font> Trocar senha </a>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<a href="/cadastro/sair/"><font size=3px </font> Sair </a>
				</div> 
			</div>
			{% endif %}
			<!-- Fim Topo ID-->
			<!-- Inicio Topo -->
			<div id="topo">
				<div id="logo" class="logo-cima">	
				</div>
			</div>
			<!-- Fim Topo -->
			<!-- Inicio Menu -->
			{% if perms.cadastro.per_administrador %}
				<div>
					<ul class="menu">
						<li class="top"><a class="top_link" href="/"><span>Home</span></a>
						</li>
						<li class="top"><a class="top_link"><span>Cadastro</span></a>
						<ul class="sub">
							<li><a href="/cadastro/administrador">Administrador</a></li>
							<li><a href="/cadastro/aluno">Aluno</a></li>
							<li><a href="/cadastro/professor">Professor</a></li>
						</ul>
						</li>
						<li class="top"><a class="top_link" href="/aula/curso"><span>Curso</span></a>
						</li>
						<li class="top"><a class="top_link"><span>Relatórios</span></a>
						<ul class="sub">
							<li><a href="/cadastro/aluno/Relatorio_Aluno/" target="_blank">Alunos</a></li>
							<li><a href="/cadastro/aluno/Relatorio_Admin" target="_blank">Administradores</a></li>
							<li><a href="/cadastro/aluno/Relatorio_Prof" target="_blank">Professores</a></li>
						</ul>
						</li>
					</ul>
				</div>
			{% else %} {% if perms.cadastro.per_professor %}
				<div>
					<ul class="menu">
						<li class="top"><a class="top_link" href="/"><span>Home</span></a>
						</li>
						<li class="top"><a class="top_link"><span>Aula</span></a>
						<ul class="sub">
							<li><a href="/aula/curso">Aulas</a></li>
							<li><a href="/cadastro/aulaAlunoCurso">Aulas x Alunos</a></li>
						</ul>
						</li>
						<li class="top"><a class="top_link"><span>Relatórios</span></a>
						<ul class="sub">
							<li><a href="/cadastro/nota/Relatorio_historico/" >Histórico</a></li>
							<li><a href="/cadastro/nota/Relatorio_nota/" >Nota</a></li>
						</ul>
						</li>
					</ul>
				</div>
			{% else %} {% if perms.cadastro.per_aluno %}
				<ul class="menu">
					<li class="top"><a class="top_link" href="/"><span>Home</span></a>
					</li>
					<li class="top"><a href="/cadastro/aulaAlunoAulas"class="top_link"><span>Aula</span></a>
					</li>
				</ul>
			{% endif %} {% endif %} {% endif %}
		<!-- Fim menu-->
		<!-- Inicio Conteudo-->
		<div id="conteudo">
			{% block quadro %}{% endblock %}
		</div>
		<!-- Fim Conteudo-->
		<!-- Inicio Rodape-->
		<div id="rodape">
            Direitos Reservados - Hadassa With Music</a>
              
              &nbsp;
            <div id="rodapenav">
                <a href="http://#">Política de Privacidade</a>
            </div>
              
        </div><!-- Fim Rodape -->		
		</div>
	</body>
</html>